home *** CD-ROM | disk | FTP | other *** search
- Path: news.smart.net!hymie
- From: hymie@lactose.smart.net (hymie!)
- Newsgroups: comp.lang.c
- Subject: Re: Finding a prime number
- Date: 11 Feb 1996 20:47:55 GMT
- Organization: At home
- Message-ID: <4flklr$hgl@news.smart.net>
- References: <4e875s$nqk@reader2.ix.netcom.com> <7c8_9601301722@tor250.org> <4f7n1o$ol9@mother.usf.edu> <4fl2tl$ln6@ns2.emirates.net.ae>
- NNTP-Posting-Host: lactose.smart.net
-
- and lo, there was much rejoicing among the people, as
- kannan@emirates.net.ae (Kannan) writes:
-
- >Is it not easy to just check whether the integer is divisible by 2 or
- >3 and decide (except 1 & 3 which is a prime number)? For ex., 723232
- >this would be divisible by 2 so not a prime number. And 997 cannot be
- >divided by these 2. This is prime number. Please correct me if I am
- >wrong without attacking me personally :)
-
- 35/2 = 17.5_
- 35/3 = 11.66
-
- therefore, 35 is prime.
-
- ..hymie hymie@lactose.smart.net
- self-appointed chairman of the 3-man keep-the-browns-in-cleveland foundation
- GCS/M d-(--) s: a25 C++ UL++ P+ E- W++ N+++ w--- M- PS+ PGP+ Y+ t+/* tv+ DI++
- b+ G+ h- e++/* r++ y+ pgp key at web page http://www.smart.net/~hymowitz/
- ===============================================================================
- sorry, this .sig is not a winner. remember to check the .sig every time
- you read a hymie! brand post or letter. please try again. good luck!
- ===============================================================================
-